xen: Simplify the space of spaces supported by XENMEM_add_to_physmap(_range)
authorIan Campbell <ian.campbell@citrix.com>
Thu, 24 Jan 2013 12:47:56 +0000 (12:47 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 24 Jan 2013 12:47:56 +0000 (12:47 +0000)
commit553fd4753c3bcf25dd3824a75d459746f3380ef6
treee736305c9a652653ecaa4f148760f41b639943cc
parenta14447dbcf171cf642bed4bf08db80f28955297e
xen: Simplify the space of spaces supported by XENMEM_add_to_physmap(_range)

XENMAPSPACE_gmfn_foreign is not supported by XENMEM_add_to_physmap.

Although in theory XENMEM_add_to_physmap_range could support
XENMAPSPACE_gmfn_range this is no different to
XENMAPSPACE_gmfn in the context of the ranged hypercall so disallow it
to avoid any confusion.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/mm.c
xen/include/public/memory.h